package cn.iocoder.yudao.module.pay.controller.app.collect.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Schema(description = "管理后台 - 收款订单新增/修改 Request VO")
@Data
public class AppPayCollectOrderSaveReqVO {

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14736")
    private Long userId;

    @Schema(description = "关联收款信息ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29376")
    private Long collectInfoId;

    @Schema(description = "应收金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "应收金额不能为空")
    private BigDecimal amount;

    @Schema(description = "支付凭证截图URL", example = "https://www.iocoder.cn")
    private List<String> payPicUrl;

    @Schema(description = "用户备注", example = "随便")
    private String remark;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "类型不能为空")
    private Integer type;

    @Schema(description = "支付单号(货款支付)", requiredMode = Schema.RequiredMode.REQUIRED)
    private String payOrderNo;

}